
			<div class="content">
				<div class="head"><h3><?php echo smit_lang('core.login.title'); ?></h3></div>
				<div class="forum-table">
					<div class="forum-row-c2">
						<form action="<?php echo smit_url(array('core', 'login')); ?>" method="post" name="login-processor">
							<fieldset>
							<?php if(count($this->base->lib->validation_errors) == 0): ?>
							<div class="notice">
							<?php else: ?>
							<div class="error">
							<?php endif; ?>
								<div class="top"><?php echo smit_lang('core.login.block.title'); ?></div>
								<?php if(count($this->base->lib->validation_errors) == 0): ?>
								<p><?php echo smit_lang('core.login.lostpass', smit_link(array('core', 'lostpassword'), smit_lang('core.login.reset'))); ?></p>
								<?php else: ?>
								<p><?php echo implode('</p><p>', $this->base->lib->validation_errors); ?></p>
								<?php endif; ?>
							</div>
							<legend><?php echo smit_lang('core.login.desc'); ?></legend>
							<label for="username" class="form"><?php echo smit_lang('core.login.username'); ?></label>
							<input type="text" name="username" value="<?php echo smit_form_fill('username'); ?>" class="form" />
							<label for="password" class="form"><?php echo smit_lang('core.login.password'); ?></label>
							<input type="password" name="password" value="" class="form" />
							<div class="button-set">
								<input type="submit" class="button" name="login" value="<?php echo smit_lang('core.login.login'); ?>" />
								<input type="submit" class="button" name="register" value="<?php echo smit_lang('core.login.register'); ?>" onclick="redirect('<?php echo smit_url(array('core', 'register')); ?>');return false;" />
							</div>
						</div>
						</fieldset>
						<div class="clearing"></div>
					</form>
				</div>
			</div>